package com.richest.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * Created by wesley on 2017-03-23.
 */
@SpringBootApplication
@ServletComponentScan // 扫描Servlet
@MapperScan("com.richest.api.dao") // 扫描dao
public class RichestApiApplication {
	public static void main(String[] args) {
		SpringApplication.run(RichestApiApplication.class, args);
	}
}
